/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;

/**
 *
 * @author Alumno
 */
public interface ICrud<T> {
    // métodos abstractos
    abstract int        grabar(T o) throws Exception;
    abstract int        modificar(T o) throws Exception;
    abstract int        eliminar(T o) throws Exception;
    abstract T          buscar(T o) throws Exception;
    abstract List<T>    listar() throws Exception;
    abstract List<T>    listarConCriterio(T o) throws Exception;
}
